package com.Cfeng.XiaohuanChat.repository;

import com.Cfeng.XiaohuanChat.entity.ChatUser;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

/**
 * @author Cfeng
 * @date 2022/8/6
 */

public interface ChatUserRepository extends CrudRepository<ChatUser,Integer> {

    ChatUser findByUserName(String userName);
}
